import Vue from 'vue'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import router from './router'
import axios from 'axios'
import App from './App.vue'
import 'default-passive-events'




Vue.prototype.$http = axios
axios.defaults.baseURL="http://localhost:8080/"
axios.defaults.headers.common['token']=localStorage.getItem("token")

Vue.use(ElementUI)
Vue.config.productionTip = false



new Vue({
  router,
  render: h=> h(App) 
}).$mount('#app')
